//
// Created by wyh on 2025-08-05 23:13.
//
#ifndef FRAMEWORK_CPP_CLASS_METHOD_H
#define FRAMEWORK_CPP_CLASS_METHOD_H

#include <string>

namespace wyh {
    namespace reflect {
        class ClassMethod
        {
        public:
            ClassMethod() : m_method(0)
            {}

            ClassMethod(const std::string &name, uintptr_t method) : m_name(name), m_method(method)
            {}

            ~ClassMethod() = default;

            const std::string &name() const{return m_name;}
            uintptr_t method() const {return m_method;}


        private:
            std::string m_name;
            uintptr_t m_method;
        };
    } // namespace reflect
} // namespace wyh

#endif //FRAMEWORK_CPP_CLASS_METHOD_H
